package com.venutech.gongan.util;

import java.text.DecimalFormat;
import java.util.Objects;

public class NumberUtil {

    public static String formatNumber(Double number) {
        if(Objects.isNull(number)) {
            return "";
        }
        DecimalFormat df = new DecimalFormat("#.0000000000");
        return df.format(number);
    }
}
